package day2.HomeWork;

/**
 * ClassName：Test08
 *
 * @Author：小鱼
 * @Create：2025-08-19 16:30
 */
public class Test08 {
    public static void main(String[] args) {
        Thread t = new Thread() {
            public void run() {
                String name = Thread.currentThread().getName();
                System.out.println(name);
            }
        };
        t.start();
        t.run();
    }
}
